CFLAGS = -Wall -I -g
EX=bin/
FIFO_RELEASE=tab

release_test: fifo.o test_fifo.o
	gcc $(CFLAGS) $(EX)fifo.o $(EX)test_fifo.o -o $(EX)release_test

test_fifo.o: test_fifo.c fifo-$(FIFO_RELEASE)/fifo.h
	gcc $(CFLAGS) -o $(EX)test_fifo.o -c test_fifo.c

fifo_errno.o: fifo_errno.c
	gcc $(CFLAGS) -o $(EX)fifo_errno.o -c fifo_errno.c

fifo.o: fifo-$(FIFO_RELEASE)/fifo.c fifo-$(FIFO_RELEASE)/fifo.h
	gcc $(CFLAGS) -o $(EX)fifo.o -c fifo-$(FIFO_RELEASE)/fifo.c

